package com.javasm.crm.service.sell.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.crm.domin.vo.SellOrderInfoVO;
import com.javasm.crm.mapper.sell.SellOrderInfoVOMapper;
import com.javasm.crm.service.sell.SellOrderInfoVOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author：liuqizhe
 * @Version：1.0
 * @Date：2021/7/12-22:53
 * @Since:jdk1.8
 * @Description:TODO
 */
@Service
@Transactional
public class SellOrderInfoVOServiceImpl extends ServiceImpl<SellOrderInfoVOMapper, SellOrderInfoVO> implements SellOrderInfoVOService {

    @Autowired
    SellOrderInfoVOMapper sellOrderInfoVOMapper;

    @Override
    public List<SellOrderInfoVO> getSellOrderInfoVO(Page<SellOrderInfoVO> page, QueryWrapper<SellOrderInfoVO> queryWrapper) {
        return sellOrderInfoVOMapper.getSellOrderInfoVO(page,queryWrapper);
    }
}
